Shares in US solar energy companies have soared on news that the investment tax credit (ITC) is to be extended for three years at the current level of 30%.