Sexual selection, phenotypic plasticity and female reproductive output