Investment Opportunities and Share Repurchases