Correlation and network topologies in global and local stock indices