Temperature and photoperiod effects on sex determination in a fish