Bias in the classroom: how and when students’ backgrounds distort teachers’ judgements and what can be done about it