Popular beaches in Rio de Janeiro, where thousands of tourists coming for the Olympics are likely to swim, have dangerously high levels of bacteria.