Expected Distances between Two Uniformly Distributed Random Points in Rectangles and Rectangular Parallelpipeds