Beachgoers told to stay out of water as sewage is pumped into seas and rivers