A right circular cylinder is inscribed in a right circular cone of height h and radius r. Find the dimensions of cylinder with maximum volume.