The optical and magnetic properties of Ni+-implanted silica