Tuning Wettability And Adhesion Of Structured Surfaces