Hole Distribution in (Sr,Ca,Y,La)14Cu24O41Compounds Studied by X-ray Absorption and Emission Spectroscopy