Structure of the proline dehydrogenase domain of the multifunctional PutA flavoprotein