Ecuadorian voters reject hosting foreign military bases and rewriting constitution in referendum