Crystal structure of flavin reductase HpaC complexed with FAD and NAD