Determinants of extinction in the fossil record