A first-principles study of the switching mechanism in GeTe/InSbTe superlattices