Spectrum of certain non-self-adjoint operators and solutions of Langevin equations with complex drift