Machine Science: Automated Modeling Of Deterministic And Stochastic Dynamical Systems