High-pressure spectroscopic studies of ferrocene, nickelocene, and ruthenocene