EU agrees to open membership talks with Ukraine, Moldova