Host-lattice effects on the electron spin resonance spectra of copper(II) complexes in diluted and undiluted forms