Ruling finds counties responsible for marijuana zoning laws