Ab initio study of the 1 A 1, ã 3 A″ and à 1 A″ states of formaldehyde