Three-Frequency Motion and Chaos in the Ginzburg-Landau Equation