Stable light-bullet solutions in the harmonic and parity-time-symmetric potentials