Stability of GaAs/AlAs superlattices