A necessary condition for specialization in an economy is the existence of