In a certain isosceles right triangle, the altitude to the hypotenuse has length 6. What is the area of the triangle?