Growth, structural, and optical properties of II-VI layers: (001) CdMnTe grown by molecular-beam epitaxy