The diversity and distribution of diatoms: from cosmopolitanism to narrow endemism