The differentiation of black and smokeless gunpowders