The technological specialization of countries : an analysis of patent data