The firm's administrative structure: Theory, measurement and applications to growth accounting and income distribution