Dirk Nowitzki commits to Germany after 4-year international layoff