D-Alanyl-D-alanine ligases and the molecular mechanism of vancomycin resistance