The Gaia-ESO Survey: open clusters in Gaia-DR1