Method for identifying chemical species in a substance using nqr