For better or for worse? a nationwide study of the social psychological effects of gender and ability grouping in mathematics · Study