The electron-phonon interaction in quasi-two-dimensional semiconductor quantum-well structures