Electro- and Photocatalytic Carbon Dioxide Reduction with Mononuclear and Dinuclear Rhenium Polypyridyl Complexes