Stability of tetrahedrally-bonded amorphous semiconductor multilayers