Ectotherm Thermoregulation at Fine Scales: Novel Methods Reveal a Link Between the Spatial Distribution of Temperature and Habitat Quality