In situ degradation of formaldehyde with electrogenerated hypochlorite ion