Global patterns of freshwater species diversity, threat and endemism