A Theory of Auctions and Competitive Bidding