Which of the following hydrides are ionic (a) CaH2 (b) BaH2 (c) SrH2 (d) BeH2