Measuring adhesion on rough surfaces using atomic force