Determinants of farmers' productivity of crops