Shares of Generac and Quanta Services rose after J.P. Morgan upgraded them to Buy.