Energy stocks help lift S&P/TSX composite higher as price of oil rises