If the volumes of two cones are in the ratio of 1:4 and their diameters are in the ratio of 4:5, find the ratio of their heights.