Ocean acidification through the lens of ecological theory