Bobcats end 16-game skid, beat Raptors 98-91