On the mechanism of superconductivity in BaBi(Pb)O3Ba(K)BiO3 systems: analysis of XAFS-spectroscopy data