Far Infrared and THz Detectors: Principles of Operation and Figures of Merit