Reconstruction of the interatomic forces from dynamic scanning transmission electron microscopy data