Different solvates of two isomeric dicarboxylic acids with pyridine and quinoline