Step‐function covariate effects in the proportional‐hazards model