The Gaia -ESO Survey: radial distribution of abundances in the Galactic disc from open clusters and young-field stars