Development of the FNIT detector for 2-20 MeV solar neutrons