Temperature, metabolic power and the evolution of endothermy