One-dimensional Schrödinger equation in the harmonic oscillator basis with various potentials☆