Essays on firm efficiency with imperfectly competitive input markets: an empirical analysis