Accelerating ab initio molecular dynamics simulations with on-the-fly machine learned force fields