Self‐Powered Photodetectors Based on 2D Materials