Quantum dynamics in a time-dependent variational approximation.