A two-dimensional visible/infrared detector based on μc-Si:H p–i–n structures