Managerial entrenchment and earnings management