A record of the atmospheric methane sink from formaldehyde in polar ice cores