The role of local labour market conditions and pupil attainment on post-compulsory schooling decisions