Determinants of professional success of representatives of selected professions in Poland and in France