Deposition and characterization of amorphous silicon with embedded nanocrystals and microcrystalline silicon for thin film solar cells