Formation of hydroxyacetonitrile (HOCH2CN) and polyoxymethylene (POM)-derivatives in comets from formaldehyde (CH2O) and hydrogen cyanide (HCN) activated by water.