Habitat change mediates the response of coral reef fish populations to terrestrial run-off