Functional Factor Analysis of Brain Connectivity