Evolutionary palaeoecology of the marine biosphere