The Relation between the Electronic Structure and Hydrogen Storing Properties of Intermetallic Compounds