An emotional Julian Alaphilippe took the road race gold medal in style at the world championships in Imola, Italy.