Microporous membranes for oil-water separation and desalination