A distribution-free stochastic frontier model with endogenous regressors