Crystal field-spin orbit treatment in d1 and d9 trigonal bipyramidal complexes