The role of phase transitions between amorphous and microcrystalline silicon on the performance of protocrystalline Si:H solar cells