Situational stress and dogmatism as determinants of problem solving