The role of product variety and quality of domestic supply in foreign trade