The coevolution of climate and life