Heterogeneous dynamics of ionic liquids in confined films with varied film thickness.