Proton NMR studies on the structure of water in ionic and nonionic water-in-oil microemulsions