Mental health problems both precede and follow bullying among adolescents and the effects differ by gender