Electronic states of simple-transition-metal impurities in silicon