are amphibians endothermic or ectothermic