what is theory of the firm