Free-energy and structural analysis of ion solvation and contact ion-pair formation of Li(+) with BF4(-) and PF6(-) in water and carbonate solvents.