Nonlinear dynamics of wave packets in parity-time-symmetric optical lattices near the phase transition point.