Cryptic diversity and ranavirus infection of a critically endangered Neotropical frog before and after population collapse