Earnings management and investment efficiency