On the formation of formic acid from formaldehyde processing in liquid clouds