A ‘‘RISM’’ theory for multicomponent molecular fluids