Density of states of a-Si1−yNiy:H alloys determined by X-ray and optical spectroscopies