Nissan said it would take legal action against the "Vote Leave" campaign after the group used the carmaker's logo in leaflets.