Direct measurement of energy landscapes of intermolecular and interfacial interactions using atomic force microscopy