Nanocrystalline silicon films as multifunctional material for optoelectornic and photovoltaic applications