Resources based factors of competitiveness of agricultural enterprises