CG and CNG methyltransferases in plants