Time Variation in Liquidity: The Role of Market-Maker Inventories and Revenues