Encapsulation of ionic liquids within polymer shells via vapor phase deposition.