An investigation into the catalytic mechanism of vitamin B6 biosynthesis using x-ray crystallography and UV-Vis spectroscopy