Hull City have signed striker Nikica Jelavic from Everton on a three-and-a-half-year deal for an undisclosed fee.