Effect of heat treatments on the properties of hydrogenated amorphous silicon for PV and PVT applications