Tuning Nanoparticle Surface Chemistry and Interfacial Properties for Highly Stable Nitrogen-In-Brine Foams.