Simulation-based assessment of a Bayesian M-spline survival model with flexible baseline hazard and time-dependent effects.