Determinants of sex allocation in a gynodioecious wild strawberry: implications for the evolution of dioecy and sexual dimorphism