A general analysis of noncovalent intermolecular interactions