Renormalization group study of the electron-phonon interaction in high- T c cuprates