Effect of local material properties on tapping mode atomic force microscopy