Excitonic resonant self-electro-optic-device configuration in polytype double-quantum-well structures