Estimation of the tritium production and inventory in beryllium