Transmethylation reactions in bacterial lipids