Iodine doping of CdTe and CdZnTe layers grown by molecular beam epitaxy