Estimating Cumulative Treatment Effects in the Presence of Nonproportional Hazards