Quasiclassical and ultraquantum decay of superfluid turbulence