Dicarboxylic acids and dihydroxy compounds