Optical properties of a nanoporous array in silicon