Solitons in parity-time-symmetric and asymmetric complex potentials