Strategic trade policy when firms can invest abroad: When are tariffs and quotas equivalent?