Seafloor weathering controls on atmospheric CO2 and global climate