A painting measures 12 inches by 16 inches and is surrounded by a frame of uniform width around the four edges. The perimeter of rectangle formed by the painting and its frame is 72 inches. What is the width of the frame?