Structural basis of substrate specificity and regiochemistry in the MycF/TylF family of sugar O-methyltransferases.