The maintenance and generation of freshwater diversity from the local to the global scale