An accelerator-based thermal neutron source for BNCT