Analytical sensitivities and energies of thermal-neutron-capture gamma rays