The importance of historical processes in global patterns of diversity