A sphere is placed in a cylinder such that the sphere touches (is tangent to) the top, bottom, and sides of the cylinder. The volume of the sphere is 972π cubic units. Find the volume of the cylinder.