Application of the full-potential linear augmented-plane-wave method to the study of electronic properties in semiconductors with d valence electrons