Condensation polymers of aldehydes or ketones