Crystal structure of the ternary complex of 1,3,8-trihydroxynaphthalene reductase from Magnaporthe grisea with NADPH and an active-site inhibitor.