Sub-wavelength resonances in mushroom-type surfaces in connection with leaky waves