Flexible Estimation of Demand Schedules and Revenue under Different Auction Formats