Valence state of B and Ta cations in the AB1/2Ta1/2O3 ceramics (A = Ca, Sr, Ba, Pb; B = Fe, Sc) from X-ray photoelectron and Mössbauer spectroscopy data