Derivation of dynamical density functional theory using the projection operator technique.