Structural changes of solar cells