Bey erupts for career-high 34 as Pistons cool off Bucks