Design and simulation of an optimized e-linac based neutron source for BNCT research