Poorer children's educational attainment: how important are attitudes and behaviour?