Polymer porous thin films obtained by direct spin coating