Electronic structure of homoleptic transition metal hydrides: TiH4, VH4, CrH4, MnH4, FeH4, CoH4, and NiH4