Current status and technological prospect of photodetectors based on two-dimensional materials