Dynamical Networks in Physics and Biology