Preparation of silica nanospheres and porous polymer membranes with controlled morphologies via nanophase separation