Ecology meets endocrinology: environmental sex determination in fishes