Use of condensation polymers of aldehydes or ketones or derivatives thereof, as mould material