Photophysics, photochemistry and thermally-induced redox reactions of a (Pterin)rhenium(I) complex