Effects of photoperiod and temperature on testicular function in amphibians.