A Structural Model of Competing Sellers: Auctions and Posted Prices