Analysis of the pi+ pi- pi+ pi- and pi+ pi0 pi- pi0 final states in quasi-real two-photon collisions at LEP