Rennes have signed Sweden forward Ola Toivonen from PSV Eindhoven on a three-and-a-half-year contract.