Kemba Walker scored 34 points as Hornets beat Knicks