Phonons and electron-phonon interaction in GaAs quantum wires