Analyzing the effective role of formal credit and technological development for rice cultivation