Study of the electronic structure of a-Si1-yNiy:H alloys by XPS and XES