Determination of adhesion forces between smooth and structured solids