Atoms in Molecules: A Quantum Theory