Dynamical processes on complex networks