Dynamical excitonic effects in metals and semiconductors.