Inheritance law and investment in family firms