Valence-level structure of phosphides of 3d-metals on the basis of XRS and ESCA data