Systematic construction of continuous-time neural networks for linear dynamical systems