Functional connectivity and structural persistence in complex networks: A topological framework with applications to power grid networks