Design and Tuning of Substrate-Fabricated Dielectric Metasurfaces Supporting Quasi-Trapped Modes in the Infrared Range