Structure of a SAM-dependent halide methyltransferase from Arabidopsis thaliana