Human capital, quality and trade