Effect of the environmental humidity on the bulk, interfacial and nanoconfined properties of an ionic liquid