Luminescence of CdMnTe/CdMgTe structures with periodically arranged narrow-gap inclusions