Magnetic properties of amorphous and liquid Ni-P-B alloys