In situ measurements of dispersed and continuous phase viscosities of emulsions using nanoparticles.