Dirk shoots Mavs past Bulls