Biochemical and mutational analysis of coenzyme B12 biosynthesis