Impact of extended defects on recombination in CdTe heterostructures grown by molecular beam epitaxy