Functional and structural insights into a novel promiscuous ketoreductase of the lugdunomycin biosynthetic pathway