The ground and excited state electronic structures of ruthenium quinones and related species