Tight relative t-designs on two shells in hypercubes, and Hahn and Hermite polynomials