Frogs avoid damaging UV-B radiation, reducing extinction risk