Walkie-talkies used by Hezbollah have detonated across southern Lebanon and parts of Beirut, officials say.