Semiparametric methods for estimating cumulative treatment effects in the presence of non-proportional hazards and dependent censoring