Formation mechanism of amorphous Ni−P thin films