Functionalized Metasurfaces enabling Frequency and Radiation Pattern Reconfigurability for Intelligent Antennas