Renormalization of the Optical Response of Semiconductors by Electron-Phonon Interaction