The defocusing NLS equation with nonzero background: Painlev\'e asymptotics in two transition regions