How coral reefs will survive in an era of a rapidly acidifying ocean