Multiplets of Transition-Metal Ions in Crystals