Deformation of the contact region and adhesional friction between nanoprobe and surface