Variables that predict academic achievement in the Spanish compulsory secondary educational system: a longitudinal, multi-level analysis.