Electron spin resonance spectra and spin-Hamiltonian parameters for trigonal-bipyramidal nickel(I) and copper(II) complexes