Characterization of electrical nanoscale properties of Si-based thin films for photovoltaic applications