Regularities in firm dynamics: the basis of the complex economy