Real-time linear response for time-dependent density-functional theory.