When a right triangle is rotated about one leg, the volume of the cone produced is $800\pi\,\text{cm}^3$. When the triangle is rotated about the other leg, the volume of the cone produced is $1920\pi\,\text{cm}^3$. What is the length (in cm) of the hypotenuse of the triangle?