RHEED studies of MBE growth mechanisms of CdTe and CdMnTe