Interfacial force measurements using atomic force microscopy