Optical properties of ZnMnTe/ZnMgTe quantum-well nanostructures