The Gaia-ESO Survey: Target selection of open cluster stars