Measurement of the temperature dependence of the Casimir-Polder force