Network models of cognitive abilities in younger and older adults