how do red-eyed tree frogs survive