Hydrides of LaNi and CeNi intermetallic compounds