The comparative analysis of 2D and 3D microstructural models stresses of porous polymer materials