Essays on dynamic mechanism design