Self-Powered Broadband Photodetector and Sensor Based on Novel Few-Layered Pd3(PS4)2 Nanosheets.