The volume of a rectangular prism is 504 square centimeters. The area of the base is 72 square centimeters. What is the height of the prism?