Physics of instability of thin film Si and (Si,Ge) alloy solar cells