Generalized Ginzburg-Landau theory of pseudo-one-dimensional systems