Detection of deep-subwavelength dielectric layers at terahertz frequencies using semiconductor plasmonic resonators.