Optimal Tracking Strategies for Uncertain Ensembles of Thermostatically Controlled Loads