Structural characterization of a bacterial 6PDH reveals aspects of specificity, mechanism and mode of inhibition