2D materials for infrared and terahertz detectors. (2020)