Chemistry of formation and elimination of formaldehyde in foods