Electronic spectra of pseudotetrahedral cobalt(II) and nickel(II) complexes of C3v symmetry