REC shares gain 1.86% as Sensex rises