Product markets and corporate investment: Theory and evidence