The mayor and council shall have the authority to impose, assess, levy, and collect an excise tax upon the sale, transfer, or dispensing of beer, wine, or other alcoholic beverages by wholesale or retail dealers within the city.