Impacts of ocean acidification in naturally variable coral reef flat ecosystems