Gaia-ESO Survey: Global properties of clusters Trumpler 14 and 16 in the Carina nebula