Topology Inference for Networked Dynamical Systems: A Causality and Correlation Perspective