Well-width dependence of electron-phonon interaction energies in quantum wells due to confined LO phonon modes