At least five people were killed when an explosive device detonated near a key government building in the Syrian capital.