A flexible parametric accelerated failure time model and the extension to time-dependent acceleration factors.