The preparation and properties of cobalt-doped II–VI chalcogenides