Solving the Kadanoff-Baym equations for inhomogeneous systems: application to atoms and molecules.