Mavericks expect Nowitzki to opt out of his contract