Measuring Nonstationary Cycles: A Time-Deformation Approach