Hezbollah has confirmed the death of its media spokesman Mohammad Afif in an Israeli strike on a building in Beirut.