Strategic tariffs and endogenous market structures: Trade and industrial policies under imperfect competition