The Lebanese militant group Hezbollah has promised retaliation after thousands of pagers believed to have been compromised by Israeli spies exploded.