Topological analysis and synthesis of chaotic time series