Properties of hazard-based residuals and implications in model diagnostics