The relative influence of environmental cues on reproductive allocation of a highly iteroparous coral reef fish