Engineered Nanoparticles as Harsh-Condition Emulsion and Foam Stabilizers and as Novel Sensors