High-Performance Broadband Photodetector and Power Generator