Nonsingular spiked harmonic oscillator