NBA cancels two weeks of regular season