The connection between systems of polynomials orthogonal with respect to different distribution functions