the sex of a plant is determined by its genes not the conditions it is grown under