Correlation between surface tension and void fraction in ionic liquids.