Essays on Empirical Industrial Organization and Networks