Shepherd, Joseph take West Indies to South Africa series win