Effect of Alkyl Chain Length on Hygroscopicity of Nanoparticles and Thin Films of Imidazolium-Based Ionic Liquids