Electrostatic force theory for a molecule and interacting molecules. I. Concept and illustrative applications