Arizona school teacher pleads guilty to sex with a student