Electron energy-loss spectroscopy of forbidden transitions to valence and Rydberg states of formaldehyde