Demand and Revenue Management of Deteriorating Inventory on the Internet: An Empirical Study of Flash Sales Markets