South African markets close in the red as mining and financial stocks tumble