Interaction of hydrogen, carbon monoxide, and formaldehyde with ruthenium