Gender and school-stage associations with health-related behaviours and health-related quality of life in Spanish children