Intermolecular interactions, from diatomics to biopolymers