Backward- Versus Forward-Looking Regulation: Consequences for Investment and Welfare