A cylinder and a cone have the same volume. The cylinder has a radius of 8 inches and a height of 6 inches. The cone has a radius of 12 inches. What is the height of the cone?