Microstructure characterization and NO2-sensing properties of porous silicon with intermediate pore size