A correlation between the photochemical reactivity of the metallocenes and their ions, and their electronic structures