Atomic energy in the 'Atoms in Molecules' theory and its use for solving chemical problems