UltraTech Cement and HCL Technologies only gainers among BSE Sensex stocks