Comparison of tritium retention and carbon deposition in JET and JT-60U