Monte Carlo simulation of a detection system to measure neutron capture cross sections using a BaF₂ calorimeter