Properties of the weighted log-rank test in the design of confirmatory studies with delayed effects