Computes the Hjorth parameters (Hjorth 1970): mobility, a proxy for mean
frequency derived from the variance ratio of the first difference to
the signal itself; and complexity, a proxy for bandwidth/irregularity
derived from the second difference. Ported from Lucas Franca's own
mrpheus package (AASM staging feature pipeline). Uses Bessel-corrected
(ddof = 1) variance throughout, deliberately matching R's var()
convention – this was mrpheus's original design choice, and differs
slightly from the antropy Python library's population-variance
(ddof = 0) convention. The two converge as length(x) grows but
differ meaningfully for short series; see inst/COPYRIGHTS.