Non-fisherian sex ratios with sex change and environmental sex determination