An individual-based model of ectotherm movement integrating metabolic and 1 microclimatic constraints 2 3