Features of electron transfer along heterogeneous atomic chains