S&P/TSX composite down more than 300 points despite gains in energy stocks