KKR-CPA study of the electronic and magnetic structures of disordered Pd1−yNiy alloys and their hydrides