Ecology and conservation of endangered amphibians and reptiles