Photonic memory switch consisting of multiple quantum well reflection modulator and heterojunction phototransistor