Productivity, competitiveness, and territories of the Italian medium-sized companies