Forces in scanning probe methods