Energetic and ecological constraints on population density of reef fishes