Facile synthesis of methanesulfonate esters