Effect of an electromagnetic field on the combustion of a Ti + C system