Nanomembrane that separates oil from water