Observation of an abrupt double-to-single-layer transition in a double-quantum-well structure