Preparation of a polyphenylene sulfide membrane from a ternary polymer/solvent/non-solvent system by thermally induced phase separation