Greater species diversity at the equator linked to variations in precipitation