In situ magnetometer study on the formation and stability of cobalt carbide in Fischer–Tropsch synthesis