Modelling cognitive skills, ability and school quality to explain labour market earnings differentials