Optimization of barrier layer thickness in MgSe/CdSe quantum wells for intersubband devices in the near infrared region