Concepts and functional characteristics of consciousness in comparison of memory and attention