Electronic properties of formaldehyde in water: a theoretical study