q-symmetry in condensed matter physics: the Hubbard model with phonons