Tropical storm Emily batters Miami Beach, anti-flood system fails