South African president expresses solidarity with Palestine