Identification of chemical substances by testing and screening of hypotheses II. Determination of impurities in n-hexane and naphthalene