2D materials for nanophotonic devices. (2018)