Effect of Solid Substrates on the Molecular Structure of Ionic Liquid Nanofilms.