Thousands leave flood-surrounded Thai capital