Brazil provides combat-style protection on Rio beaches