Expansions of one density via polynomials orthogonal with respect to the other