An XPS study of the valence bands in solid and liquid bismuth