Self-realization in John Dewey and Confucius: its philosophical and educational features