Effects of terminated atoms, porosity and drilling orientations on the band structure of porous silicon