Equilibrium earnings management and managerial compensation in a multiperiod agency setting