Ecological and physiological responses of hard corals to variations in seawater carbonate chemistry