Ethylene oxide and acetaldehyde in hot cores