cognitive functions relationships