Optimal Dynamic Auctions and Simple Index Rules