Kernel-Granger causality and the analysis of dynamical networks.