Structure of quinolinate synthase in complex with reaction intermediate W