Topological analysis of brain dynamics in autism based on graph and persistent homology