Optical response and magnetic characteristic of samarium doped zinc phosphate glasses containing nickel nanoparticles