On Endogenous Efficiency in Public and Private Firms