Bargmann-Type Transforms and Modified Harmonic Oscillators