Semiparametric proportional hazards estimation of competing risks models with time-varying covariates