Conditional inference for binary panel data models with predetermined covariates