An isosceles right triangle has a base and height with the same length. If the area of the triangles is 32 square centimeters, how long are the base and height?