Essays in the empirical analysis of selling mechanisms