A study of accidental thermal transients in the ITER fusion reactor