Compounds containing aldehyde or ketone groups