Chord length distribution and the distance between two random points in a convex body in Rn