Vapor-phase and solution-phase UV spectroscopic studies of η5-pentadienyl derivatives of iron and ruthenium