Nanomechanics and intermolecular forces.