Condensation polymers of aldehydes or ketones with phenols only from mixtures of aldehydes and ketones