Structural relaxation and the photoplastic effect in amorphous semiconductors