Valence changes associated with the metal-insulator transition in Bi1-xLaxNiO3