Thermodynamics of Formation of Porous Polymeric Membrane by Phase Separation Method I. Nucleation and Growth of Nuclei