Role of the adhesion between a nanotip and a soft material in tapping mode AFM