Spectroscopic studies on heme d in the visible and infrared