Girls’ education suffers when high-achieving boys are in the classroom