PT symmetric and charged harmonic oscillators