British teacher pleads guilty to Syria terror offences