High-performance nanoporous silicon-based photodetectors