UK man pleads guilty to terrorism charges