Nuclear magnetic resonance spectroscopic study on ionic liquids of 1-alkyl-3-methylimidazolium salts