S&P/TSX composite up in early trading as energy and metals and mining sectors climb