Finite element modelling of compressive mechanical behaviour of high and low density polymeric foams