Structural and functional characterization of Staphylococcus aureus dihydrodipicolinate synthase