Coursework 'favours middle class children'