Multielement 2D layered material photodetectors