S.Africa shuts beaches, probes sea pollution after riots