A cube has a surface area of 96 square inches. If 16 cubes are combined to make a rectangular prism, what is the volume of the rectangular prism?