Able pupils from poorer homes 'less likely to be judged above average