Interaction of optical and acoustic phonons with longitudinal plasma waves