The New York Knicks have won the NBA championship for the first time since 1973, defeating the San Antonio Spurs in five games.