Real time spectroscopic ellipsometry for characterization and optimization of amorphous silicon-based solar cell structures