Excited-state potential surfaces of ruthenium nitrosyl complexes: conical intersections and the Jahn-Teller effect