Understanding Surface Structure and Interactions of Ionic Liquids for Energy Applications