Tritium retention in neutron-irradiated carbon-based materials and beryllium