Pistons overcome offensive struggles to down Nets