The history of the biosphere: Equilibrium and non-equilibrium models of global diversity