Detection of Terahertz, Mid- and Near Infrared Radiation by a Multilayer Metal—Insulator Heterostructure