The Atom-In-Molecule concept from a density-matrix perspective