The Gaia-ESO survey: Mapping the shape and evolution of the radial abundance gradients with open clusters