High-performance photodetectors