Functionalised nanoparticles for enhanced oil recovery: emulsification and demulsification