Quadratic relations for a q-analogue of multiple zeta values