On the convergence of normal form transformations