Ignition mechanism in nanocomposites thermites