Former Rangers striker Kyle Lafferty has joined Serie B side Palermo from Sion on a three-year contract for an undisclosed fee.