Frustration and commensurate pinning in the low temperature phases of TTF-TCNQ