Causes of global biodiversity gradients