The population dynamics of reef fishes