Dynamic Managerial Compensation: A Mechanism Design Approach