Celtics beat Knicks for third straight win