Quantum size effects on the optical and electrical properties of microcrystalline Si:H