Effect of phonon confinement in quantum well systems