Spin-Hamiltonian parameters and defect structures for the trigonal Yb3+ centers in wurtzite-type ZnS and CdS crystals