Askey--Wilson polynomials, quadratic harnesses and martingales