Chemical mechanism of Haemophilus influenzae diaminopimelate epimerase.