Absorption and emission spectra of Ni-doped glasses and glass-ceramics in connection with its co-ordination number