School achievement as a predictor of depression and self-harm in adolescence: linked education and health record study