Hamaker constant and tip radius determination in dynamic atomic force microscopy