Dallas Mavericks beat Charlotte Bobcats