Formation of an unconventional Ag valence state in Ag2NiO2