Amorphization and nanocrystal formation in a Pd–Ni–Cu–P alloy after cooling under different conditions