Condensation polymers of aldehydes or ketones with monomers covered by at least two of the groups C09D161/04, C09D161/18 and C09D161/20